<?php

/*
 接口名称：/erpStudent/add
 接口描述：新增学员
*/

//获取参数
$osha_oshid              = $route->bodyParams['osha_oshid'];
$osha_type               = $route->bodyParams['osha_type'];
$osha_content            = $route->bodyParams['osha_content'];

//写入数组
$insertArr = [
    'osha_oshid'              => $osha_oshid ,
    'osha_type'               => $osha_type,
    'osha_content'            => $osha_content,
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_student_homework_attachment",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );